/*
 * Created on Sat Sep 16 2017
 * @flow
 * Copyright (c) 2017 jianglinjie
 */
'use strict';

import NetClient from './client/NetClient';
import FetchClient from './client/FetchClient';
import NetRequest from './request/NetRequest';
import GetRequest from './request/GetRequest';
import JSONRequest from './request/JSONRequest';
import { UploadFileRequest, UploadFile } from './request/UploadFileRequest';
import FormRequest from './request/FormRequest';

import * as HttpMethod from './constants/HttpMethod';
import * as ResponseType from './constants/ResponseType';

export { 
  NetClient,
  FetchClient,
  NetRequest,
  GetRequest,
  JSONRequest,
  UploadFileRequest, 
  UploadFile, 
  FormRequest,
  HttpMethod, 
  ResponseType
};

export type { 
  NetHandler, 
  ResponseVerifyResult, 
  ErrorHandleResult,
  NetworkReponse
} from './handler/NetHandler';
